package com.smh.hmdianping;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement // 开启事务
@EnableAspectJAutoProxy(exposeProxy = true)  // 开启aop, 允许暴露aop代理
public class HmDianpingApplication {

    public static void main(String[] args) {
        SpringApplication.run(HmDianpingApplication.class, args);
    }

}
